package com.yp.infrastructure.demo.exception;

import com.yp.infrastructure.common.exception.BaseException;
import com.yp.infrastructure.common.exception.ErrorMessage;
import com.yp.infrastructure.common.exception.IErrorMessage;


public class PartnerException extends BaseException {

    public PartnerException(ErrorMessage errorMessage) {
        super(errorMessage);
    }

    public PartnerException(IErrorMessage enumErrorMessage) {
        super(enumErrorMessage);
    }

    public PartnerException(IErrorMessage errorMessage, Exception e) {
        super(errorMessage, e);
    }

    public PartnerException(IErrorMessage errorMessage, Throwable throwable) {
        super(errorMessage, throwable);
    }

    @Override
    public ErrorMessage getErrorMessage() {
        return super.getErrorMessage();
    }
}
